package cn.com.jslh.boarpro.main.model.breeditems;

import java.util.List;

/**
 * 作者：周洲 on 2017/7/27 08:41
 * <p>
 * 邮箱：double0zhou@126.com
 */

public abstract class BreedItem {
    private String title;
    private String valueStr;
    private String valueid;
    private String valueTage;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValueStr() {
        return valueStr;
    }

    public void setValueStr(String valueStr) {
        this.valueStr = valueStr;
    }

    public String getValueid() {
        return valueid;
    }

    public void setValueid(String valueid) {
        this.valueid = valueid;
    }

    public String getValueTage() {
        return valueTage;
    }

    public void setValueTage(String valueTage) {
        this.valueTage = valueTage;
    }

    public  BreedItem(DataTemplates dataTemplates) {
        this.title = dataTemplates.title;
        this.valueStr = dataTemplates.valueStr;
        this.valueid = dataTemplates.valueid;
    }

    public static class DataTemplates {
        String title;
        String valueStr;
        String valueid;
        List<SpinnerTemplate> datas;
        int type;
        public DataTemplates(String title, String valueStr, String valueid, List<SpinnerTemplate> datas,int type) {
            this.title = title;
            this.valueStr = valueStr;
            this.valueid = valueid;
            this.datas = datas;
            this.type = type;
        }
    }

    public class SpinnerTemplate {
        String id;
        String show;

        public SpinnerTemplate(String id, String show) {
            this.id = id;
            this.show = show;
        }
    }
}
